(function () {
    // 类
    var Person = /** @class */ (function () {
        function Person(firstname, lastname) {
            this.firstname = firstname;
            this.lastname = lastname;
            this.fullname = this.firstname + '_' + this.lastname;
        }
        return Person;
    }());
    // 定义函数
    function Showfullname(person) {
        return person.firstname + '_' + person.lastname;
    }
    var person = new Person('zz', 'aa');
    console.log(Showfullname(person));
})();
